import 'package:flutter/material.dart';
import 'package:flutter_love/global/global.dart';
import 'package:flutter_love/view/back_psd_view.dart';
import 'package:flutter_love/view/login_view.dart';
import 'package:flutter_love/view/menu_view.dart';
import 'package:flutter_love/view/web_detail_view.dart';
import 'package:flutter_love/view/register_view.dart';

Map<String, WidgetBuilder> routes = {
  "/": (BuildContext context) => const LoginView(), //登录
  Global.routeRegister: (BuildContext context) => const RegisterView(), //注册
  Global.routeBackPsd: (BuildContext context) => const BackPsdView(), //忘记密码
  Global.routeMenu: (BuildContext context) => const MenuView(), //主页
  Global.routeWebDetail: (BuildContext context) => const WebDetailView(), //网页详情
};
